import Vue from 'vue'
import Vuex from 'vuex'
import * as getters from './getters'
import * as actions from './actions'
import * as mutations from './mutations'

Vue.use(Vuex)
/* eslint-disable */
export default new Vuex.Store({
    state: {
        roomName: '',
        userName: '',
        portrait: '',
        backMM: -1,
        token: '',
        friends:[],
        socket: null,
        rtcConfig: null,
        localCameraVideoStream: null,
        localMutedStream: null,
        dispalyVideo: null
    },
    getters,
    actions,
    mutations
})